package cn.com.qtgl.apis.notification.model.view;

import cn.melonlib.cores.commons.model.entity.ApiEntity;
import cn.melonlib.cores.commons.model.entity.StringIdEntity;
import cn.melonlib.cores.model.anno.ModelComment;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@ModelComment("应用")
public class Application extends StringIdEntity implements ApiEntity {

    @ModelComment("应用名称")
    private String name;

    @ModelComment("客户端ID")
    private String clientId ;

    @ModelComment("所属部门")
    private String dept;

    @ModelComment("包含渠道")
    private List<NotificationChannelView> channels ;

    @ModelComment("是否需要认证")
    private Boolean authorized;

    @ModelComment("创建时间")
    private Long createTime ;

    @ModelComment("更新时间")
    private Long updateTime ;
}
